ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / CreatePolygonRegion Method / CreatePolygonRegion(Point[]) Method
A System.Drawing.Point array that defines the vertices of the polygon.

In This Topic
    CreatePolygonRegion(Point[]) Method
    In This Topic
    Create a polygons region from the point array which defines the vertices of the polygon.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreatePolygonRegion( _
       ByVal polygonPoints() As Point _
    ) As Region
    public static Region CreatePolygonRegion( 
       Point[] polygonPoints
    )

    Parameters

    polygonPoints
    A System.Drawing.Point array that defines the vertices of the polygon.
    Remarks
    This method creates a new Region object with a polygon interior interior. The interior is defined by the polygonPoints parameter.
    See Also